<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>当前数据</title>
    <meta name="keywords" content="当前数据">
    <meta name="description" content="当前数据">

    <link rel="shortcut icon" href="favicon.ico"> <link href="<?= base_url('assets/css/bootstrap.min.css?v=3.3.6') ?>" rel="stylesheet">
    <link href="<?= base_url('assets/css/font-awesome.css?v=4.4.0') ?>" rel="stylesheet">

    <link href="<?= base_url('assets/css/animate.css') ?>" rel="stylesheet">
    <link href="<?= base_url('assets/css/style.css?v=4.1.0') ?>" rel="stylesheet">

</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">


        <div class="row">

            <div class="col-sm-4">
                <div class="ibox">
                    <div class="ibox-content">
                        <h5>注册用户</h5>
                        <h1 class="no-margins"><?= $data['total_user']?></h1>

                    </div>
                </div>
            </div>


            <div class="col-sm-4">
                <div class="ibox">
                    <div class="ibox-content">
                        <h5>绑定用户</h5>
                        <h1 class="no-margins"><?= $data['total_bind_user']?></h1>

                    </div>
                </div>
            </div>



            <div class="col-sm-4">
                <div class="ibox">
                    <div class="ibox-content">
                        <h5>今日绑定用户</h5>
                        <h1 class="no-margins"><?= $data['today_bind_user']?></h1>

                    </div>
                </div>
            </div>



        </div>




        <div class="row">

            <div class="col-sm-4">
                <div class="ibox">
                    <div class="ibox-content">
                        <h5>所有注册设备</h5>
                        <h1 class="no-margins"><?= $data['total_device']?></h1>

                    </div>
                </div>
            </div>


            <div class="col-sm-4">
                <div class="ibox">
                    <div class="ibox-content">
                        <h5>绑定设备</h5>
                        <h1 class="no-margins"><?= $data['total_bind_device']?></h1>

                    </div>
                </div>
            </div>

            <div class="col-sm-4">
                <div class="ibox">
                    <div class="ibox-content">
                        <h5>今日绑定设备</h5>
                        <h1 class="no-margins"><?= $data['today_bind_device']?></h1>

                    </div>
                </div>
            </div>





        </div>

        <div class="row">

            <div class="col-sm-4">
                <div class="ibox">
                    <div class="ibox-content">
                        <h5>MYNT注册设备</h5>
                        <h1 class="no-margins"><?= $data['total_mynt_device']?></h1>

                    </div>
                </div>
            </div>



            <div class="col-sm-4">
                <div class="ibox">
                    <div class="ibox-content">
                        <h5>MYNT绑定设备</h5>
                        <h1 class="no-margins"><?= $data['total_bind_mynt_device']?></h1>

                    </div>
                </div>
            </div>




            <div class="col-sm-4">
                <div class="ibox">
                    <div class="ibox-content">
                        <h5>今日MYNT绑定设备</h5>
                        <h1 class="no-margins"><?= $data['today_bind_mynt_device']?></h1>

                    </div>
                </div>
            </div>
       </div>



        <div class="row">

            <div class="col-sm-4">
                <div class="ibox">
                    <div class="ibox-content">
                        <h5>GPS注册设备</h5>
                        <h1 class="no-margins"><?= $data['total_gps_device'] ?></h1>

                    </div>
                </div>
            </div>


            <div class="col-sm-4">
                <div class="ibox">
                    <div class="ibox-content">
                        <h5>GPS绑定设备</h5>
                        <h1 class="no-margins"><?= $data['total_bind_gps_device'] ?></h1>

                    </div>
                </div>
            </div>


            <div class="col-sm-4">
                <div class="ibox">
                    <div class="ibox-content">
                        <h5>今日GPS绑定设备</h5>
                        <h1 class="no-margins"><?= $data['today_bind_gps_device'] ?></h1>

                    </div>
                </div>
            </div>

        </div>




        <div class="row">

            <div class="col-sm-4">
                <div class="ibox">
                    <div class="ibox-content">
                        <h5>ES注册设备</h5>
                        <h1 class="no-margins"><?= $data['total_es_device'] ?></h1>

                    </div>
                </div>
            </div>


            <div class="col-sm-4">
                <div class="ibox">
                    <div class="ibox-content">
                        <h5>ES绑定设备</h5>
                        <h1 class="no-margins"><?= $data['total_bind_es_device'] ?></h1>

                    </div>
                </div>
            </div>


            <div class="col-sm-4">
                <div class="ibox">
                    <div class="ibox-content">
                        <h5>今日ES绑定设备</h5>
                        <h1 class="no-margins"><?= $data['today_bind_es_device'] ?></h1>

                    </div>
                </div>
            </div>

        </div>





    </div>
    <!-- 全局js -->


    <?php include "include/admin_foot_script.php" ?>

    <!-- Sparkline -->
    <script src="<?= base_url('assets/js/plugins/sparkline/jquery.sparkline.min.js') ?>"></script>

    <!-- Peity -->
    <script src="<?= base_url('assets/js/plugins/peity/jquery.peity.min.js') ?>"></script>

    <!-- 自定义js -->
    <script src="<?= base_url('assets/js/content.js?v=1.0.0') ?>"></script>

    <!-- peity demo data -->
    <script src="<?= base_url('assets/js/demo/peity-demo.js') ?>"></script>

    <script>
        $(document).ready(function () {


            $("#sparkline1").sparkline([34, 43, 43, 35, 44, 32, 44, 52], {
                type: 'line',
                width: '100%',
                height: '60',
                lineColor: '#1ab394',
                fillColor: "#ffffff"
            });

            $("#sparkline2").sparkline([24, 43, 43, 55, 44, 62, 44, 72], {
                type: 'line',
                width: '100%',
                height: '60',
                lineColor: '#1ab394',
                fillColor: "#ffffff"
            });

            $("#sparkline3").sparkline([74, 43, 23, 55, 54, 32, 24, 12], {
                type: 'line',
                width: '100%',
                height: '60',
                lineColor: '#ed5565',
                fillColor: "#ffffff"
            });

            $("#sparkline4").sparkline([24, 43, 33, 55, 64, 72, 44, 22], {
                type: 'line',
                width: '100%',
                height: '60',
                lineColor: '#ed5565',
                fillColor: "#ffffff"
            });

            $("#sparkline5").sparkline([1, 4], {
                type: 'pie',
                height: '140',
                sliceColors: ['#1ab394', '#F5F5F5']
            });

            $("#sparkline6").sparkline([5, 3], {
                type: 'pie',
                height: '140',
                sliceColors: ['#1ab394', '#F5F5F5']
            });

            $("#sparkline7").sparkline([2, 2], {
                type: 'pie',
                height: '140',
                sliceColors: ['#ed5565', '#F5F5F5']
            });

            $("#sparkline8").sparkline([2, 3], {
                type: 'pie',
                height: '140',
                sliceColors: ['#ed5565', '#F5F5F5']
            });


        });
    </script>


    <!--统计代码，可删除-->

</body>

</html>
